package com.ddwl.schema.bo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;

/**
 * 类SeckillItemBo.java的实现描述：秒杀商品入参
 * @author wenbin
 */
@Data
@ApiModel("秒杀商品入参")
public class CreateSeckillItemBo {


    @ApiModelProperty("秒杀活动商品行id")
    private String id;

    @ApiModelProperty("秒杀活动id")
    private String seckillId;

    @ApiModelProperty(value = "skuId")
    private String skuId;
    @ApiModelProperty(value = "barcode")
    private String barcode;

    @ApiModelProperty(value = "商品id")
    private String itemId;

    @ApiModelProperty(value = "商品名字")
    private String itemName;

    @ApiModelProperty(value = "商品金额")
    private BigDecimal itemPrice;

    @ApiModelProperty(value = "虚拟销量")
    private Integer oldSaleCount;

    @ApiModelProperty(value = "商品描述")
    private String itemSpecs;

    @ApiModelProperty(value = "商品图片")
    private String imageUrl;

    @ApiModelProperty(value = "秒杀价格")
    private BigDecimal seckillPrice;

    @ApiModelProperty(value = "秒杀数量")
    private Integer seckillCount;

    @ApiModelProperty(value = "限购数量")
    private Integer seckillLimit;

    @ApiModelProperty(value = "秒杀商品排序")
    private Integer seckillSort;

}

